﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.IO;
using System.Text;
namespace ihongma.test
{
    public partial class file : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            StringBuilder sb = new StringBuilder();
            DirectoryInfo info = new DirectoryInfo(@"D:\0228官网图片\13");
            foreach (FileInfo info2 in info.GetFiles())
            {
                sb.Append("\""+info2.Name.Replace(".gif", "")+"\",");
            }
            Response.Write(sb.ToString());
        }
    }
}